gtkgstsink: Use video_frame_free also for the GL path
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Mon, 25 Jan 2021 21:38:45 +0000 (22:38 +0100)
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Tue, 26 Jan 2021 19:30:47 +0000 (20:30 +0100)
commit00fd60aaa8ceb11b193c2b340c565f342799e387
tree56174b5bdb586cac6dc8fb76771f783e3cd5e75c
parentc7a7d0582a52f0109f3f534ae7ae7a1f4ff24274
gtkgstsink: Use video_frame_free also for the GL path

The video frame needs to stay mapped while the texture is in use.

Avoid using g_memdup because the structure is not supposed to be moved.
modules/media/gtkgstsink.c